The following examples come from Java and schema.
Suppose there is a system of electronic magazines built in Java that regularly sends electronic magazines to users ' email mailboxes. Users can subscribe through a Web page, or they can end subscriptions through a Web page. When a customer starts a subscription, the system sends an e-mail to welcome it, and when the customer ends the subscription, the system sends an e-mail message saying goodbye. This example is the module that the system is res
Because I am thinkphp implementing a scheduled task, how can I execute a URL every minute? {code...} Because I am thinkphp implementing a scheduled task, how can I execute a URL every minute?
Http://www.xxx.com/autoMessage-smsandemail? Autokey = sdfi12ree3329487jseufewr323h19484p3hn id = 15 @ * @ 15id = 15 @ * @ 15 indicates what it means, answers from experts
Reply content:
Because I'm thinkphp, how can I execute a URL every minute to implement
url= "Ajax.php?act=autosave";Makesenddata (Post,url, ' AutoSave ', ' post ');}}function AutoSave (){if (xmlhttp.readystate = 4){if (Xmlhttp.status = 200){var Autoresponse=xmlhttp.responsetext;var Automessage=document.getelementbyid (' Autosavetimebox ');if (Autoresponse.indexof ("{Automessage.innerhtml= ' You have not yet written information, do not save drafts ';return false;}if (Autoresponse.indexof ("{Automessage.innerhtml= ' saved successfully, y
');
Xmlhttp.send (PostData);
}
function Autosave_post ()
{
var Title=document.getelementbyid (' title '). Value;
var content = window.frames["Editor"].window.frames["HtmlEditor"].document.getelementsbytagname ("Body") [0]. InnerHTML;
var Posttime=document.getelementbyid (' Posttime '). Value;
if (allowajax==1)
{
Content=postencode (content);
Title=postencode (title);
var post= "title=" +title+ "content=" +content+ "posttime=" "+posttime+";
var url= "Ajax.php?act=autosave";
Makesen
Contact Us
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.